home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / programs / vote52.zip / PACKVOTE.DOC < prev    next >
Text File  |  1992-04-12  |  3KB  |  92 lines

  1.  
  2.                              -=( PackVote 1.0 )=-
  3.  
  4. PackVote is the maintainance program for the VoteDoor. It moves old questions
  5. to the history file and posts results to the user who asked the original
  6. question.
  7.  
  8. Parameters:
  9. ===========
  10.  
  11.  -VOTES:<MaxVotes>
  12.  
  13.      Delimits the number of votes on a question. VoteDoor uses an internal
  14.      list of 500 entries to keep track of who already voted. The default
  15.      value for this parameter is 450 votes. When a question is remove The
  16.      results are copied to the history file.
  17.  
  18.  -DAYS:<NoDays>
  19.  
  20.      Delimits the number of days a question stays in the VoteDoor. After the
  21.      given amount of days the question is removed. The results are copied to
  22.      the history file.
  23.  
  24.  -AREA:<AreaNr>
  25.  
  26.      PackVote has the ability to send a message to the user who asked the
  27.      question. This parameter defines the area in which the message is
  28.      posted. See also the info on the "POSTMSG.<Language>" later in this
  29.      documentation. No area means no posting of messages. The AreaNr has
  30.      to be between 1 and 200. An illegal areanr aborts the program.
  31.  
  32.  -PRV
  33.  
  34.      If this parameter is used, the result messages are posted as private
  35.      messages.
  36.  
  37.  -NOMIX
  38.  
  39.      If this parameter is used, PackVote makes different historyfiles for
  40.      different languages. In that case you also should use the -NoMix
  41.      parameter on the VoteDoor commandline!
  42.  
  43.  -MSG<path to msgbase directory>
  44.  
  45.      If you want to post the results you need thisone! It tells PackVote
  46.      where to find the msgbase.
  47.  
  48.  -ML
  49.      If you run a multiline system and want to post the results, you need
  50.      thisone to! When found on the commandline, PackVote implements
  51.      messagebase locking..
  52.  
  53.  
  54. POSTED.<LANGUAGE>
  55. =================
  56.  
  57. Posted.<Language> contains the messagebody for resultmessages which are send
  58. to the users when their question is removed. The default language is
  59. english. So you should at least prepare a file POSTED.ENG if you want to use
  60. this feature. The language used is the language the user had selected at the
  61. moment he posted the question. If no POSTED.<Lang> is found for that language
  62. the english message is used.
  63.  
  64. In the messagebody you can use a number of macro's. Except for the
  65. %%QUESTION  and  %%RESULT macro's they may appear whereever you like.
  66. The %%QUESTION and %%RESULT macro  can be anywhere on a line, but other
  67. contents of the line are lost!
  68.  
  69. %%TO       The name of the user who asked the question
  70. %%DAYS     The number of days since the question was posted
  71. %%DATE     The date the question was posted
  72. %%COUNT    The total number of votes on the question
  73. %%PROG     "VoteDoor 5.0"
  74. %%QUESTION The question (3 lines!)
  75. %%RESULT   The results (5 lines!)
  76.  
  77.  
  78. Last remarks:
  79. =============
  80.  
  81. - Run PackVote from the same directory as where the VoteDoor itself can be
  82.   found, OR set the VOTE= environment variable. Otherwise PackVote can't find
  83.   the supportfiles and datafile!
  84.  
  85. - The historyfile isn't realy readable for humans. It's intended to be
  86.   read from within VoteDoor.
  87.  
  88. - If your msgbase is important, you better back it up! The routines I used
  89.   for this program are tested, the program is tested (At releasetime) but
  90.   still.. See the disclaimer in the votedoor documentation!
  91.  
  92.